package net.yunzhanyi.generic.domain.model;

import java.io.Serializable;

public class Part implements Serializable {
    /**
     * 名句主键
     */
    private Long partId;

    /**
     * 名句内容
     */
    private String partContent;

    /**
     * 原诗词
     */
    private String source;

    /**
     * 诗词id
     */
    private Long poetryId;

    private static final long serialVersionUID = 1L;

    public Long getPartId() {
        return partId;
    }

    public void setPartId(Long partId) {
        this.partId = partId;
    }

    public String getPartContent() {
        return partContent;
    }

    public void setPartContent(String partContent) {
        this.partContent = partContent;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Long getPoetryId() {
        return poetryId;
    }

    public void setPoetryId(Long poetryId) {
        this.poetryId = poetryId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", partId=").append(partId);
        sb.append(", partContent=").append(partContent);
        sb.append(", source=").append(source);
        sb.append(", poetryId=").append(poetryId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}